﻿using B.S.RbacData.ErrorCode;
using MediatR;

namespace B.S.RbacData.Write.API.Applications.Commands.RBAC
{
    public class UpdatePermissionCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 权限编号
        /// </summary>

        public int  ID { get; set; }


        /// <summary>
        /// 权限名称
        /// </summary>
        public string PermissionName { get; set; } = null!;
        /// <summary>
        /// 权限url
        /// </summary>

        public string URL { get; set; } = null!;


        /// <summary>
        /// 权限序号
        /// </summary>
        public string PermissionNo { get; set; } = null!;


        /// <summary>
        /// 父级菜单Id
        /// </summary>
        public int ParentId { get; set; }



    }
}
